<%@ page import="yws01.Model.Chezhu" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="fm" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="sql" uri="http://java.sun.com/jstl/sql" %>
<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>

<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>停车场系统</title>
    <!-- 新 Bootstrap 核心 CSS 文件 -->
    <link href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
    <!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
    <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
    <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
    <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
    <jsp:useBean id="Chezhu" class="yws01.Model.Chezhu" scope="request"></jsp:useBean>
</head>
<body>
<h1>删除VIP，请管理者输入到期的用户账号</h1>
<%--@elvariable id="Chezhu" type=""--%>
<%--@elvariable id="chezhus" type="yws01.Model.Chezhu"--%>
<%--@elvariable id="chezhu" type=""--%>
<form class="form-horizontal" role="form" action="chenggongshanchu.html" method="post">
<div class="form-group">
    <label  class="col-sm-2 control-label"></label>
<form:form method="post" commandName="chezhu" modelAttribute="Chezhu" name="Chezhubianhao">
    <table>
        <tr>
            <td>用户:</td>
            <td>
                <form:select path="Chezhubianhao" name="Chezhubianhao">
                    <option>请选择</option>
                    <form:options items="${chezhuss}" itemValue="Chezhubianhao" itemLabel="Chezhubianhao"/>
                </form:select>
            </td>
        </tr>
        <tr>
            <td colspan="2"><input type="submit" value="提交"/></td>
        </tr>
    </table>
    <table width="146" border="0" cellspacing="0" align="right" cellpadding="0" class="leftmenulist">
        <tr class="leftmenutext">
            <td><div style="margin-left:48px;"><a href="guanliyuanzhuyemian.html" target="_parent">退出</a></div></td>
        </tr>
    </table>
</form:form>
</div>
</form>
<div class="row clearfix">
    <div class="col-md-12 column">
        <div class="row clearfix" style="margin:5px!important;margin:3px;">
            <div class="col-md-12 column">
                <table class="table table-hover table-bordered">
                    <thead>
                    <tr>
                        <th>
                            车主编号
                        </th>
                        <th>
                            VIP开始时间
                        </th>
                    </tr>
                    </thead>
                    <tbody>
                    <c:forEach items="${chezhuss}" var="chezhuss">
                        <tr>
                            <td>${chezhuss.chezhubianhao}</td>
                            <td>${chezhuss.vipshijian}</td>
                        </tr>
                    </c:forEach>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>
</body>
</html>
